# $Id: PKGBUILD 165523 2012-08-22 19:37:34Z tpowa $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>

pkgname=spandsp
pkgver=0.0.6pre21
pkgrel=1
pkgdesc="A DSP library for telephony"
arch=(i686 x86_64)
license=('GPL')
url="http://www.soft-switch.org/"
depends=('libtiff')
source=(http://www.soft-switch.org/downloads/$pkgname/$pkgname-$pkgver.tgz)
options=(!libtool)

build() {
  cd $srcdir/$pkgname-0.0.6
  ./configure --prefix=/usr
  make
}

check() {
   cd $srcdir/$pkgname-0.0.6
   make check
}  

package() {
  cd $srcdir/$pkgname-0.0.6
  make DESTDIR=$pkgdir install
}
md5sums=('492f3790439891c07d8c06e97ccbfcf1')
